package com.follow.service;

import com.follow.common.PageUtil;
import com.follow.pojo.TbDepartment;
import com.follow.pojo.TbUserVO;

import java.util.Date;
import java.util.List;

/**
 * Created by Administrator on 2020/9/24.
 */
public interface TbuserVOService {

    PageUtil<TbUserVO> selectUserVO(Integer pageNum, Integer pageSize,Integer id, String userId, String userName,String password,Integer roleId,Integer sex, String phone, String mail, Integer departmentId);
    //查询科室
    List<TbDepartment> selectDepartment();
    //添加医生
    boolean addDoctor(String userId, String userName, Integer sex, Integer age, Date birthday, String phone, String mail, String password, Integer roleId, Integer departmentId);
    //主键查询
    TbUserVO selectOne(Integer id);
    //修改用户
    boolean updateOne(TbUserVO tbUserVO);
    //批量删除
    boolean removeBeach(String[] ids);

}
